CC = iccavr
LIB = ilibw
CFLAGS =  -IC:\icc\bin -IC:\icc\include -IC:\iccv7avr\include -e -D__ICC_VERSION=722 -DATMega64  -l -A -g -MLongJump -MHasMul -MEnhanced -Wf-use_elpm -Wf-const_is_flash -DCONST="" 
ASFLAGS = $(CFLAGS) 
LFLAGS =  -LC:\icc\lib -LC:\iccv7avr\lib -g -e:0x10000 -ucrtatmega.o -bfunc_lit:0x8c.0x10000 -dram_end:0x10ff -bdata:0x100.0x10ff -dhwstk_size:100 -beeprom:0.2048 -fihx_coff -S2
FILES = main.o lcd.o adc.o wdt.o zimo.o task.o initial.o Kernel.o detect.o app.o 

TEST_PT3D:	$(FILES)
	$(CC) -o TEST_PT3D $(LFLAGS) @TEST_PT3D.lk   -lstudio -lfpatmega -lcatmega
main.o: .\macros.h .\config.h .\config2.h C:\PROGRA~1\iccv7avr\include\iom64v.h C:\PROGRA~1\iccv7avr\include\AVRdef.h .\kernel.h .\initial.h .\wdt.h .\lcd.h
main.o:	main.c
	$(CC) -c $(CFLAGS) main.c
lcd.o: .\config.h .\macros.h .\config2.h C:\PROGRA~1\iccv7avr\include\iom64v.h C:\PROGRA~1\iccv7avr\include\AVRdef.h .\zimo.h .\lcd.h .\wdt.h C:\PROGRA~1\iccv7avr\include\stdio.h C:\PROGRA~1\iccv7avr\include\stdarg.h C:\PROGRA~1\iccv7avr\include\_const.h
lcd.o:	lcd.c
	$(CC) -c $(CFLAGS) lcd.c
adc.o: .\config.h .\macros.h .\config2.h C:\PROGRA~1\iccv7avr\include\iom64v.h C:\PROGRA~1\iccv7avr\include\AVRdef.h .\wdt.h .\adc.h
adc.o:	adc.c
	$(CC) -c $(CFLAGS) adc.c
wdt.o: C:\PROGRA~1\iccv7avr\include\iom329pv.h C:\PROGRA~1\iccv7avr\include\AVRdef.h .\macros.h
wdt.o:	wdt.c
	$(CC) -c $(CFLAGS) wdt.c
zimo.o: .\macros.h C:\PROGRA~1\iccv7avr\include\AVRdef.h
zimo.o:	zimo.c
	$(CC) -c $(CFLAGS) zimo.c
task.o: .\config.h .\macros.h .\config2.h C:\PROGRA~1\iccv7avr\include\iom64v.h C:\PROGRA~1\iccv7avr\include\AVRdef.h .\kernel.h .\task.h
task.o:	task.c
	$(CC) -c $(CFLAGS) task.c
initial.o: .\macros.h .\config.h .\config2.h C:\PROGRA~1\iccv7avr\include\iom64v.h C:\PROGRA~1\iccv7avr\include\AVRdef.h .\wdt.h .\initial.h .\detect.h .\adc.h
initial.o:	initial.c
	$(CC) -c $(CFLAGS) initial.c
Kernel.o: .\macros.h .\kernel.h
Kernel.o:	Kernel.c
	$(CC) -c $(CFLAGS) Kernel.c
detect.o: .\config.h .\macros.h .\config2.h C:\PROGRA~1\iccv7avr\include\iom64v.h C:\PROGRA~1\iccv7avr\include\AVRdef.h .\wdt.h .\lcd.h .\adc.h C:\PROGRA~1\iccv7avr\include\string.h C:\PROGRA~1\iccv7avr\include\_const.h C:\PROGRA~1\iccv7avr\include\stdio.h C:\PROGRA~1\iccv7avr\include\stdarg.h .\detect.h .\task.h .\kernel.h
detect.o:	detect.c
	$(CC) -c $(CFLAGS) detect.c
app.o: .\macros.h .\config.h .\config2.h C:\PROGRA~1\iccv7avr\include\iom64v.h C:\PROGRA~1\iccv7avr\include\AVRdef.h .\detect.h .\lcd.h C:\PROGRA~1\iccv7avr\include\stdio.h C:\PROGRA~1\iccv7avr\include\stdarg.h C:\PROGRA~1\iccv7avr\include\_const.h C:\PROGRA~1\iccv7avr\include\string.h .\app.h .\kernel.h .\wdt.h C:\PROGRA~1\iccv7avr\include\eeprom.h C:\PROGRA~1\iccv7avr\include\stdlib.h C:\PROGRA~1\iccv7avr\include\limits.h .\adc.h C:\PROGRA~1\iccv7avr\include\math.h
app.o:	app.c
	$(CC) -c $(CFLAGS) app.c
